<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>    
<%@ include file="/include/jsp/baseContent.jsp"%>   
<script type="text/javascript">
<!--//

function moveViewPage(tname){
	
	$("#tname").val(tname);
	frmObj = document.frm; 	
	frmObj.submit();	
}

//-->
</script>
<div style="width:100%; border:1px dashed red; height:500px; margin:0 auto 0 auto; padding-left:20px;">
	<h1>table info view page</h1>
	<table border="1">
		<tr style="background-color:#a16;">
			<td>field</td>
			<td>relation_major</td>
			<td>description</td>
			<td>class_name</td>
			<td>major</td>
			<td>professor</td>
			<td>relation_cc_area</td>
			<td>info</td>
			<td>achieve_level</td>
			<td>req_class</td>
			<td>ability_code</td>
			<td>ability</td>
			<td>relation_cc</td>
			<td>req_major_01</td>
			<td>req_major_02</td>
			<td>req_major_03</td>
			<td>req_major_04</td>
			<td>major_code</td>
			<td>name</td>
			<td>cc_area</td>
			<td>sub_field</td>
			<td>image_url</td>
		</tr>
	<s:iterator value="list">
		<tr><!--  24 -->
			<!-- cc_field -->
			<td><s:property value="field"/> </td>			
			<td><s:property value="relation_major"/> </td>
			<td><s:property value="description"/> </td>
			<!-- cc_field -->
			<!-- class -->
			<td><s:property value="class_name"/> </td>
			<td><s:property value="major"/> </td>
			<td><s:property value="professor"/> </td>
			<td><s:property value="relation_cc_area"/> </td>
			<td><s:property value="info"/> </td>
			<td><s:property value="achieve_level"/> </td>
			<td><s:property value="req_class"/> </td>
			<!-- class -->
			<!-- goal_ability -->
			<td><s:property value="ability_code"/> </td>
			<td><s:property value="ability"/> </td>
			<td><s:property value="relation_cc"/> </td>
			<td><s:property value="req_major_01"/> </td>
			<td><s:property value="req_major_02"/> </td>
			<td><s:property value="req_major_03"/> </td>
			<td><s:property value="req_major_04"/> </td>
			<!-- goal_ability -->
			<!-- major -->
			<td><s:property value="major_code"/> </td>
			<td><s:property value="major_name"/> </td>
			<!-- major -->
			<!-- professor -->
			<td><s:property value="major_field"/> </td>
			<td><s:property value="name"/> </td>
			<td><s:property value="cc_area"/> </td>
			<td><s:property value="sub_field"/> </td>
			<td><s:property value="image_url"/> </td>
			<!-- professor -->
		</tr>
	</s:iterator>
	</table>
</div> 